package com.yinhai.message.implement.app.sender;

import java.util.List;

import org.springframework.stereotype.Service;

import com.yinhai.message.api.bean.TMUser;
import com.yinhai.message.api.vo.TMMessageVo;
import com.yinhai.message.core.sender.IMessageSender;
import com.yinhai.message.implement.app.util.AppPushUtil;

/**
 * @author:TANQINGPING
 * @version:1.0 2017/3/31
 */
@Service
public class AppMessageSender implements IMessageSender<TMMessageVo> {

    @Override
    public List<TMUser> sendMessage(TMMessageVo appMessageVo) {
       return  AppPushUtil.pushMessage(appMessageVo);
    }
}
